package com.zxx.ssm.model.biz;

import com.zxx.ssm.dao.TeacherStudentClass;

import java.util.Date;

public class TeaStuClassBiz{
    private String tscIds;

    private Integer classId;

    private String location;

    private Integer timeblockId;

    private Integer courseTypeId;

    private String classType;

    private String courseType;

    private Date classday;

    private String calFtime;

    private String calTtime;

    private String stuIds;

    private String stuName;

    private Integer teaId;

    private String teaName;

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getClasstype() {
        return classType;
    }

    public void setClasstype(String classtype) {
        this.classType = classtype;
    }

    public Date getClassday() {
        return classday;
    }

    public void setClassday(Date classday) {
        this.classday = classday;
    }

    public String getCalFtime() {
        return calFtime;
    }

    public void setCalFtime(String calFtime) {
        this.calFtime = calFtime;
    }

    public String getCalTtime() {
        return calTtime;
    }

    public void setCalTtime(String calTtime) {
        this.calTtime = calTtime;
    }

    public String getCourseType() {
        return courseType;
    }

    public void setCourseType(String courseType) {
        this.courseType = courseType;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getTeaName() {
        return teaName;
    }

    public void setTeaName(String teaName) {
        this.teaName = teaName;
    }

    public String getTscIds() {
        return tscIds;
    }

    public void setTscIds(String tscIds) {
        this.tscIds = tscIds;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public Integer getTeaId() {
        return teaId;
    }

    public void setTeaId(Integer teaId) {
        this.teaId = teaId;
    }

    public Integer getTimeblockId() {
        return timeblockId;
    }

    public void setTimeblockId(Integer timeblockId) {
        this.timeblockId = timeblockId;
    }

    public String getStuIds() {
        return stuIds;
    }

    public void setStuIds(String stuIds) {
        this.stuIds = stuIds;
    }

    public Integer getCourseTypeId() {
        return courseTypeId;
    }

    public void setCourseTypeId(Integer courseTypeId) {
        this.courseTypeId = courseTypeId;
    }

    public Integer getClassTypeId() {
        if(classType.equals("口语"))
            return 1;
        else if(classType.equals("听力"))
            return 2;
        else if(classType.equals("阅读"))
            return 3;
        else
            return 4;
    }

    public String getClassType() {
        return classType;
    }

    public void setClassType(String classType) {
        this.classType = classType;
    }
}
